package com.housekeeping.housekeeping.usermanagement.service.impl;

import com.housekeeping.housekeeping.usermanagement.dao.impl.DeleteDao;
import com.housekeeping.housekeeping.usermanagement.dao.impl.OperationDaoImpl;
import com.housekeeping.housekeeping.usermanagement.entity.InformationUser;
import com.housekeeping.housekeeping.usermanagement.service.DelService;

import java.sql.SQLException;

public class DelServiceImpl implements DelService {
    private OperationDaoImpl deleteDao = new DeleteDao();
    @Override
    public int delOperation(InformationUser information) throws SQLException {
        return deleteDao.delete(information);
    }
}
